import service from "@/utils/request";


// 获取所有班级
export function getClassroomListService(params) {
  return service.request({
    method: "get",
    url: "/classroom/list",
    params
  });
}


// 获取某个班级详情
export function getClassroomDetailService(classroomId) {
  return service({
    url: "/classroom/classroomDetails",
    method: "get",
    params: { classroomId } // 将 courseId 添加到查询参数中
  });
}